<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<form action="atualizarDados.do">
	<div class="bg-danger text-danger">
		<s:actionerror/>
	</div>
	<br />
	
	<div class="row">
		<div class="col-md-2"><label class="obrigatorio">Login:</label></div>
		<div class="col-md-8"><input type="text" name="usuario.login" value="${usuario.login}" pattern="^.{3,100}$" title="Login" class="form-control"></div>
	</div> <br />
	<div class="row">
		<div class="col-md-2"><label class="obrigatorio">Nome:</label></div>
		<div class="col-md-8"><input type="text" name="usuario.nome"  value="${usuario.nome}" pattern="^.{3,100}$" title="Nome" class="form-control"></div>
	</div> <br />
	<div class="row">
		<div class="col-md-2"><label class="obrigatorio">Email:</label></div>
		<div class="col-md-8"><input type="text" name="usuario.email"  value="${usuario.email}" pattern="^[a-z\._]+@[a-z]+\.[a-z]+$" title="Email" class="form-control"></div>
	</div> <br />
	<div class="row">
		<div class="col-md-2"><label>Cidade:</label></div>
		<div class="col-md-8"><input type="text" name="usuario.cidade"  value="${usuario.cidade}" title="Cidade" class="form-control"></div>
	</div> <br />
	<!--  
	<div class="row">
		<div class="col-md-2"><label>Foto:</label></div>
		<div class="col-md-8"><input type="file" name="usuario.foto" id="fotoEditado" label="File"></div>
	</div>
	-->
</form>
